define(['dataService','jquery'],function(dataService,$){
	let msg = "this is amd reules alerter js ... ";
	function showMsg (){
		console.log(msg,dataService.getMsg());
		$("body").css("background-color","yellow").append("<h1>使用jQuery改变了样式!</h1>");
	}
	
	return {showMsg} // 使用return{}替代之前的window.xxx
	
});